﻿using FinalPointSet.Model.Model;
using System.Windows;

namespace FinalPointSet.Model.Manager
{
    public class StringResourceManager : SingletonBase<StringResourceManager>
    {
        private ResourceDictionary dict = new();
        public void Init(ResourceDictionary dict)
        {
            this.dict = dict;
        }
        public string Get(string key)
        {
            string value = (string)dict[key];
            return value ?? "";
        }
    }
}
